package com.hxl.service.impl;

import com.hxl.service.UserService;

public class UserServiceImpl implements UserService {
    private String name;
    public UserServiceImpl(){
        System.out.println(" constructor is running...");
    }

    public UserServiceImpl(String name) {
        System.out.println("有参构造");
        this.name = name;
    }

    public void initialsize(){
        System.out.println("init....");
    }

    public void des(){
        System.out.println("destroy....");
    }


    @Override
    public void save() {
        System.out.println("user service running...");
    }
}
